package com.example.shop.shops.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName t_employee
 */
@Data
@TableName(value = "t_employee")
public class Employee implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private String username;

    /**
     *
     */
    private String phone;

    /**
     *
     */
    private String email;

    /**
     *
     */
    private String salt;

    /**
     *
     */
    private String password;

    /**
     *
     */
    private Integer age;

    /**
     * 员工状态 1启用，0禁用
     */
    private Integer state;

    /**
     *
     */
    private Long departmentId;

    /**
     *
     */
    private Long logininfoId;

    /**
     *
     */
    private Long shopId;

    private static final long serialVersionUID = 1L;
}